package com.lening.organization.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("role")
public class Role implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;
    private String rname;
    private String description;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
//    private Long createId;
//    @TableField(fill = FieldFill.UPDATE)
//    private LocalDateTime updateTime;
//    private Long updateId;
//    private Integer status;
    @TableLogic
    private Integer deleted;
}
